<template>
  <div>
    <a :href="url">百度</a>
    <br />
    <img :src="imgurl" alt="" />
    <img :src="localImg" alt="" />
  </div>
</template>

<script>
import myImg from "./assets/1.png";
export default {
  data() {
    return {
      url: "http://www.baidu.com",
      imgurl:
        "https://pics2.baidu.com/feed/00e93901213fb80efb9e543e9e437926b8389422.jpeg?token=3d94df5a4f9641b78b602a84c0235a50",
      localImg: myImg,
    };
  },
};
</script>

<style>
</style>